package com.software.myopiaparents.http;

public class ApiConstants {

    // 百度url
    public static final String BASEURL = "http://www.baidu.com/";

    // 接口url
    // 线上
    public static final String BATHURL = "http://8.129.162.129:6008/";

    // 本地
//    public static final String BATHURL = "http://192.168.1.71:6008/";



    /**
     * 获取对应的host
     *
     * @param hostType host类型
     * @return host
     */
    public static String getHost(int hostType) {
        String host;
        switch (hostType) {
            case HostType.TELE_CONFIG:
                host = BATHURL;
                break;

            default:
                host = "";
                break;
        }
        return host;
    }
}
